package com.sun.test;

import org.junit.Test;

public class test01 extends Person{

    @Override
    public void getAll() {

    }

    @Override
    public void getAlls() {

    }

    @Test
    public void test01() {
        super.getAllss();
    }
}
abstract class Person{
    public abstract void getAll();
    public abstract void getAlls();
    public  void getAllss(){
        System.out.println("父类方法");
    }

}
class Singleton{
    private static Singleton singleton;
    private Singleton(){

    }
    public static Singleton getSing(){
        if (singleton == null){
             singleton = new Singleton();
        }
        return singleton;
    }
}